package com.ikangtai.shecare.home.circlecalendar;

import com.ikangtai.shecare.common.Constant;

/**
 * Created by lijinyuan on 16/5/10.
 */
public class Calendar {
    private String dayDay;
    private String dayTitle;
    private String percentNumber;
    private String percentTitle;
    private String state;
    private String day;

    public Calendar(String day, String dayDay, String dayTitle, String state, String percentNumber, String percentTitle) {
        this.dayDay = dayDay;
        this.dayTitle = dayTitle;
        this.percentNumber = percentNumber;
        this.percentTitle = percentTitle;
        this.state = state;
        this.day = day;

    }

    public String getDayDay() {
        return dayDay;
    }

    public void setDayDay(String dayDay) {
        this.dayDay = dayDay;
    }

    public String getDayTitle() {
        return dayTitle;
    }

    public void setDayTitle(String dayTitle) {
        this.dayTitle = dayTitle;
    }

    public String getPercentNumber() {

        if (state.equals(Constant.kMenstruation)) {
            return percentNumber + Constant.kDay;
        } else {
            return percentNumber + Constant.kPercent;
        }
    }

    public String getPercentNumberWithoutDay() {


        return percentNumber;

    }

    public void setPercentNumber(String percentNumber) {
        this.percentNumber = percentNumber;
    }

    public String getPercentTitle() {
        return percentTitle;
    }

    public void setPercentTitle(String percentTitle) {
        this.percentTitle = percentTitle;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }
}
